Total Complexity | 60 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 510 |
Lines of code | 248 |
Logical lines of code | 119 |
Comment lines | 200 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
on_order_status_change() | 44 | 11 | 45 | |
manage_refunded_for_order() | 38 | 9 | 75 | |
on_sub_order_change() | 51 | 10 | 25 | |
restore_reduced_order_stock() | 52 | 8 | 23 | |
handle_order_notes_for_suborder() | 53 | 6 | 20 | |
ensure_coupon_is_valid() | 57 | 6 | 14 | |
is_status_change_allowed() | 54 | 4 | 21 | |
__construct() | 57 | 2 | 16 | |
maybe_add_wc_prefix() | 77 | 2 | 3 | |
log_skipped_status_update() | 78 | 1 | 3 | |
split_vendor_orders() | 81 | 1 | 3 |